vim.g.db_ui_use_nerd_fonts = 1
vim.g.vim_dadbod_completion_mark = "[DB]"
vim.g.db_ui_icons = {
    expanded = {
        db = "▾ ",
        buffers = "▾ ",
        saved_queries = "▾ ",
        schemas = "▾ ",
        schema = "▾ פּ",
        tables = "▾ 藺", -- ﴶ
        table = "▾ ",
    },
    collapsed = {
        db = "▸ ",
        buffers = "▸ ",
        saved_queries = "▸ ",
        schemas = "▸ ",
        schema = "▸ פּ",
        tables = "▸ 藺", -- ﴶ
        table = "▸ ",
    },
    saved_query = "",
    new_query = "璘",
    tables = "離", -- ﴶ
    buffers = "﬘",
    add_connection = "",
    connection_ok = "✓",
    connection_error = "✕",
}

local cmp = require("cmp")
-- Set configuration for specific filetype.
cmp.setup.filetype({ "sql", "mysql", "plsql" }, {
    sources = cmp.config.sources({
        { name = "vim-dadbod-completion" },
        { name = "luasnip" },
        { name = "path" },
    }, {
        { name = "buffer" },
    }, {
        { name = "spell" },
    }),
})
